//
//  SQLQueries.h
//  ExchangeClient
//
//  Created by Антон on 03.12.12.
//  Copyright (c) 2012 Сураева Яна. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Folder.h"
#import "Mail.h"
#import "Attach.h"

@interface SQLQueries : NSObject
+(NSString*) insertFolder: (Folder*)folder;
+(NSString*) deleteFolder: (Folder*)folder;
+(NSString*) selectFolder;
+(NSString*) deleteAllFolders;


+(NSString*) insertMail: (Mail*)mail;
+(NSString*) deleteMail: (Mail*)mail;
+(NSString*) selectMail: (Mail*)mail;
+(NSString*) deleteAllMails;

+(NSString*) insertAttach: (Attach*)attach;
+(NSString*) deleteAttach: (Attach*)attach;
+(NSString*) selectAttach: (Attach*)attach;

@end
